package com.example.datacollection.constants;

public class PopulationConstants {
    public static final String REQUESTPATH_IS_EMPTY = "请求路径为空";
    public static final String COLLECTION_SUCCESSFUL = "采集成功";
    public static final String POPULATION_FEMALE = "populationFemale";
    public static final String POPULATION_TOWN = "populationTown";
    public static final String POPULATION_RURAL = "populationRural";
    public static final String STATISTICAL_YEARS = "statisticalYears";

    public static void main(String[] args) {
        int i =0;
        int j = 10;
        while(i<10){
            StringBuffer stringBuffer = new StringBuffer("");
            for(int z = 0;z<j;z++){
                stringBuffer.append(" ");
            }
            if(i==0){
            stringBuffer.append(".");
            }else if(i==9){
                for(int z = 0;z<i*2+1;z++){
                    stringBuffer.append(".");
                }
            }else {
                stringBuffer.append(".");
                for (int z = 0;z<2*i-1;z++) {
                    stringBuffer.append(" ");
                }
                stringBuffer.append(".");
            }
            System.out.println(stringBuffer);
            j--;
            i++;
        }
    }
}
